package com.hj.demo;

import com.hj.domain.Coder;
import com.hj.domain.Manager;

public class Test3 {
    public static void main(String[] args) {
        Manager manager = new Manager();
        manager.setId(123);
        manager.setSalary(15000);
        manager.setBonus(6000);
        Coder coder = new Coder();
        coder.setId(135);
        coder.setSalary(10000);
        manager.work();
        coder.work();
    }
}
